package com.yxhl.zoume.core.officialcar.view;

import com.yxhl.zoume.common.ui.view.BaseView;

/**
 * Created by sugarya on 16/8/26.
 */
public interface CreateOfficialCarOrderView extends BaseView {

    /**
     * 成功 回调
     *
     * @param orderId
     */
    void renderOfficialCarOrderOnSuccess(String orderId);

    /**
     * 失败回调
     *
     * @param failureMsg
     */
    void renderOfficialCarOrderOnFailure(String failureMsg);

    /**
     * 错误 回调
     *
     * @param errorMsg
     */
    void renderOfficialCarOrderOnError(String errorMsg);


    /**
     * 是否显示等待对话框
     *
     * @param needShow
     */
    void showWaitingDialog(boolean needShow);

}
